<script setup>

const props = defineProps(['id'])

</script>

<template>
<h3>UserPostProfile3</h3>
    
路由组件传参为(props=ture)： id:{{ props.id }}

</template>